﻿<%@ Page Language="VB" MasterPageFile="~/NavegacaoMaster.master" AutoEventWireup="false"
  CodeFile="PubEntrada.aspx.vb" Inherits="PubEntrada" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <asp:ScriptManager ID="ScriptManager1" runat="server" />
  <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Listar"
    TypeName="extranet.bc.BCNoticia"></asp:ObjectDataSource>
  <table style="width: 100%;">
    <tr>
      <td style="width: 18px; height: 24px;">
      </td>
      <td style="width: 553px; background-image: url('imagens/titulo-box.jpg'); background-repeat: repeat-x;
        font-weight: 700; height: 24px; font-family: sans-serif;">
        &nbsp; <span style="font-family: Arial">&nbsp;NOTÍCIAS</span>
      </td>
      <td style="height: 24px">
      </td>
    </tr>
    <tr>
      <td style="width: 18px">
        &nbsp;
      </td>
      <td style="width: 553px">
        <cc1:Accordion ID="Accordion1" runat="server" HeaderCssClass="divCinza" BorderColor="ActiveBorder"
          HeaderSelectedCssClass="divLaranja" ContentCssClass="divBranco" DataSourceID="ObjectDataSource1"
          FadeTransitions="true" Width="100%">
          <HeaderTemplate>
            <asp:Label ID="Label1" runat="server" Text='<% #Eval("Titulo")%>'></asp:Label>
            <asp:Label ID="Label2" runat="server" Text='<%#Eval("DataPostagemFormatada")%>'></asp:Label>
          </HeaderTemplate>
          <ContentTemplate>
            <img style="width: 380px" src='<%# "imagens/noticias/" & Eval("NomeImagem") %>' alt="" /><br />
            <%# Eval("Corpo") %>
          </ContentTemplate>
        </cc1:Accordion>
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
  </table>
</asp:Content>
